From: Keir Fraser Date: Fri, 24 Dec 2010 08:47:59 +0000 (+0000) Subject: x86: link-time .data section adjustments X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11016 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=53ecc28f0e91051cf7874012ea13a6899910b105;p=xen.git x86: link-time .data section adjustments Fold compiler generated sections (mostly due to -fPIC on x86-64) into the general .data and .data.read_mostly sections. Signed-off-by: Jan Beulich --- diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 49691d35c5..16e710c3fd 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -51,12 +51,16 @@ SECTIONS __stop___pre_ex_table = .; *(.data.read_mostly) + *(.data.rel.ro) + *(.data.rel.ro.*) } :text .data : { /* Data */ . = ALIGN(PAGE_SIZE); *(.data.page_aligned) *(.data) + *(.data.rel) + *(.data.rel.*) CONSTRUCTORS } :text